home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / finances / opus22 / logical.hlp < prev    next >
Encoding:
Text File  |  1995-04-25  |  1.3 KB  |  46 lines

  1. The logical functions use 0 to indicate a FALSE condition,
  2. while non-zero values indicate TRUE. Functions return 1 to
  3. indicate TRUE and 0 for FALSE.
  4.  
  5. OPERATORS: =, <>, <, >, <=, >=
  6.  
  7. IF(expr1,expr2,expr3): These expressions may be anything,
  8.    including nested IFs. If expr1 evaluates to non-zero,
  9.    then IF returns the result of expr2, but if expr1
  10.    generates 0, IF returns the result of expr3.
  11.  
  12. AND(expr list): Returns TRUE if all expressions evaluate
  13.    to non-zero, and FALSE if any evaluate to 0.
  14.  
  15.  
  16. OR(expr list): Returns TRUE if any of the expressions
  17.    evaluate to non-zero, and FALSE only if all evaluate to
  18.    zero.
  19.  
  20. AND and OR require at least two arguments, and the upper
  21.    limit is 20.
  22.  
  23. NOT(expr): Returns TRUE if expr evaluates to zero, and FALSE
  24.    only if expr generates a non-zero value.
  25.  
  26. ISEMPTY(cell/range list): Returns TRUE if any cells con-
  27.    tained within the list are empty, and FALSE only if all
  28.    possess a value.
  29.  
  30.  
  31. ISERR(expr/range list): Returns TRUE if any expressions or
  32.    cells within ranges evaluate to an error condition,
  33.    excluding the NA error status.
  34.  
  35. ISNA(expr/range list): Similar to ISERR, but this function
  36.    checks specifically for the NA error status.
  37.  
  38. TRUE(): Returns 1.
  39.  
  40. FALSE(): Returns 0.
  41.  
  42.  
  43.  
  44.  
  45.  
  46.